package com.voice.call.mapper;

import java.util.List;
import java.util.Map;


public interface BaseMapper<E, K> {

	int insert(E entity);
	
	int update(E entity);
	
	int delete(K id);
	
	E get(K id);
	
	E getOne(Map<String, Object> params);
	
	List<E> list(Map<String, Object> params);

}
